package com.dxl.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import java.util.List;
/**
 * <b> LabelNote实体类
 * </b><br><br><i>Description</i> :
 * <br>Date: 2019-09-25    <br>Author : dxl
 */
public class LabelNote implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键ID
    */
    @TableId(value="id", type= IdType.AUTO)
    private Integer id;

    /**
    * 标签ID
    */
    @TableField("label_id")
    private Integer labelId;

    /**
    * 笔记ID
    */
    @TableField("note_id")
    private Integer noteId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
}

    public Integer getLabelId() {
        return labelId;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
}

    public Integer getNoteId() {
        return noteId;
    }

    public void setNoteId(Integer noteId) {
        this.noteId = noteId;
}

    @Override
    public String toString() {
        return "LabelNote{" +
        ", id=" + id +
        ", labelId=" + labelId +
        ", noteId=" + noteId +
        "}";
    }
}
